package com.study.cloud.gateway.common.rule.invoker;

/**
 * 抽象服务调用者
 * @author wangwancheng
 * @create 2025/7/19 14:25
 */
public abstract class AbstractServiceInvoker implements ServiceInvoker{

    protected String invokerPath;

    private Integer timeout = 5000;

    @Override
    public String getInvokerPath() {
        return invokerPath;
    }

    @Override
    public void setInvokerPath(String invokerPath) {
        this.invokerPath = invokerPath;
    }

    @Override
    public Integer getTimeout() {
        return timeout;
    }

    @Override
    public void setTimeout(Integer timeout) {
        this.timeout = timeout;
    }
}
